package com.smartstate.EMS.dto;

import com.smartstate.EMS.constant.QueryWapperEnum;
import com.smartstate.EMS.util.querywapper.QueryWapper;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "刀具")
public class ToolDTO extends DtoBase {

  @ApiModelProperty(value = "刀具身份Key")
  @QueryWapper(queryWapperEnum = QueryWapperEnum.LIKE)
  private String cutterKey;

  @ApiModelProperty(value = "刀座ID")
  @QueryWapper(queryWapperEnum = QueryWapperEnum.EQ)
  private Integer colterArmId;

  @ApiModelProperty(value = "刀具模型ID")
  private Integer modelId;

  @ApiModelProperty(value = "刀具模型编号")
  private String modelCode;

  @ApiModelProperty(value = "设备ID")
  private Integer equipmentId;

  @ApiModelProperty(value = "设备编号")
  private String equipmentCode;

  @ApiModelProperty(value = "刀具长度")
  private String length;

  @ApiModelProperty(value = "刀具直径")
  private String diameter;

  @ApiModelProperty(value = "刀具寿命")
  private String life;

  @ApiModelProperty(value = "预警寿命")
  private String warningLife;

  @ApiModelProperty(value = "刀具状态")
  private String cutterState;

  @ApiModelProperty(value = "刀具锁定")
  private String cutterLock;

  @ApiModelProperty(value = "是否准备换刀")
  private String isPrepareCutter;

  @ApiModelProperty(value = "创建班次")
  private Integer shiftId;

  @ApiModelProperty(value = "备注")
  private String remark;
}
